home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / mac / extra_hc.hqx / Extra Ham Test 5.0 SA / background_7720.xml < prev    next >
Extensible Markup Language  |  1995-07-29  |  17KB  |  486 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>7720</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_8153.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_43815.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>16</left>
  23.             <top>68</top>
  24.             <right>500</right>
  25.             <bottom>136</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>10</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>13</textHeight>
  40.         <name>Q1</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>11</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>48</left>
  55.             <top>137</top>
  56.             <right>499</right>
  57.             <bottom>177</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>10</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>13</textHeight>
  72.         <name>D</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>25</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>204</left>
  87.             <top>313</top>
  88.             <right>241</right>
  89.             <bottom>342</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <showName> <false /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <false /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>902</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>Prev</name>
  104.         <script>on mouseUp-- ΓÇóΓÇóΓÇóComment out last command & uncomment next to last for sequential-- cards.  Comment out next to last and uncomment last command for-- random cards from buildList (in background of first card of stack).global immediate, group, questansif visible of field review is false thenif item group of questans is not empty thenif immediate then reViewend ifend ifvisual effect wipe right fast to blackvisual effect wipe left-- go to previous card  -- ΓÇóΓÇóΓÇó for sequential cardsrandomPrev -- ΓÇóΓÇóΓÇó for randomly-generated cards from buildListend mouseUp</script>
  105.     </part>
  106.     <part>
  107.         <id>26</id>
  108.         <type>button</type>
  109.         <visible> <true /> </visible>
  110.         <reserved5> 0 </reserved5>
  111.         <reserved4> 0 </reserved4>
  112.         <reserved3> 0 </reserved3>
  113.         <reserved2> 0 </reserved2>
  114.         <reserved1> 0 </reserved1>
  115.         <enabled> <true /> </enabled>
  116.         <rect>
  117.             <left>297</left>
  118.             <top>313</top>
  119.             <right>333</right>
  120.             <bottom>342</bottom>
  121.         </rect>
  122.         <style>transparent</style>
  123.         <showName> <false /> </showName>
  124.         <highlight> <false /> </highlight>
  125.         <autoHighlight> <false /> </autoHighlight>
  126.         <sharedHighlight> <true /> </sharedHighlight>
  127.         <family>0</family>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>26425</icon>
  130.         <textAlign>center</textAlign>
  131.         <font>Chicago</font>
  132.         <textSize>12</textSize>
  133.         <textStyle>plain</textStyle>
  134.         <name>Next</name>
  135.         <script>on mouseUp-- ΓÇóΓÇóΓÇóComment out last command & uncomment next to last for sequential-- cards.  Comment out next to last and uncomment last command for-- random cards from buildList (in background of first card of stack).global immediate, group, questansif visible of field review is false thenif item group of questans is not empty thenif immediate then reViewend ifend ifvisual effect wipe left fast to blackvisual effect wipe right fast-- go to next card -- ΓÇóΓÇóΓÇó for sequential cardsrandomNext -- ΓÇóΓÇóΓÇó for randomly-generated cards from buildListend mouseUp</script>
  136.     </part>
  137.     <part>
  138.         <id>27</id>
  139.         <type>field</type>
  140.         <visible> <true /> </visible>
  141.         <dontWrap> <false /> </dontWrap>
  142.         <dontSearch> <false /> </dontSearch>
  143.         <sharedText> <false /> </sharedText>
  144.         <fixedLineHeight> <true /> </fixedLineHeight>
  145.         <autoTab> <false /> </autoTab>
  146.         <lockText> <false /> </lockText>
  147.         <rect>
  148.             <left>48</left>
  149.             <top>178</top>
  150.             <right>508</right>
  151.             <bottom>219</bottom>
  152.         </rect>
  153.         <style>transparent</style>
  154.         <autoSelect> <false /> </autoSelect>
  155.         <showLines> <false /> </showLines>
  156.         <wideMargins> <false /> </wideMargins>
  157.         <multipleLines> <false /> </multipleLines>
  158.         <reservedFamily> 0 </reservedFamily>
  159.         <titleWidth>0</titleWidth>
  160.         <icon>0</icon>
  161.         <textAlign>left</textAlign>
  162.         <font>Geneva</font>
  163.         <textSize>10</textSize>
  164.         <textStyle>plain</textStyle>
  165.         <textHeight>13</textHeight>
  166.         <name>D</name>
  167.         <script></script>
  168.     </part>
  169.     <part>
  170.         <id>28</id>
  171.         <type>field</type>
  172.         <visible> <true /> </visible>
  173.         <dontWrap> <false /> </dontWrap>
  174.         <dontSearch> <false /> </dontSearch>
  175.         <sharedText> <false /> </sharedText>
  176.         <fixedLineHeight> <true /> </fixedLineHeight>
  177.         <autoTab> <false /> </autoTab>
  178.         <lockText> <false /> </lockText>
  179.         <rect>
  180.             <left>48</left>
  181.             <top>221</top>
  182.             <right>508</right>
  183.             <bottom>262</bottom>
  184.         </rect>
  185.         <style>transparent</style>
  186.         <autoSelect> <false /> </autoSelect>
  187.         <showLines> <false /> </showLines>
  188.         <wideMargins> <false /> </wideMargins>
  189.         <multipleLines> <false /> </multipleLines>
  190.         <reservedFamily> 0 </reservedFamily>
  191.         <titleWidth>0</titleWidth>
  192.         <icon>0</icon>
  193.         <textAlign>left</textAlign>
  194.         <font>Geneva</font>
  195.         <textSize>10</textSize>
  196.         <textStyle>plain</textStyle>
  197.         <textHeight>13</textHeight>
  198.         <name>D</name>
  199.         <script></script>
  200.     </part>
  201.     <part>
  202.         <id>29</id>
  203.         <type>field</type>
  204.         <visible> <true /> </visible>
  205.         <dontWrap> <false /> </dontWrap>
  206.         <dontSearch> <false /> </dontSearch>
  207.         <sharedText> <false /> </sharedText>
  208.         <fixedLineHeight> <true /> </fixedLineHeight>
  209.         <autoTab> <false /> </autoTab>
  210.         <lockText> <false /> </lockText>
  211.         <rect>
  212.             <left>47</left>
  213.             <top>264</top>
  214.             <right>502</right>
  215.             <bottom>306</bottom>
  216.         </rect>
  217.         <style>transparent</style>
  218.         <autoSelect> <false /> </autoSelect>
  219.         <showLines> <false /> </showLines>
  220.         <wideMargins> <false /> </wideMargins>
  221.         <multipleLines> <false /> </multipleLines>
  222.         <reservedFamily> 0 </reservedFamily>
  223.         <titleWidth>0</titleWidth>
  224.         <icon>0</icon>
  225.         <textAlign>left</textAlign>
  226.         <font>Geneva</font>
  227.         <textSize>10</textSize>
  228.         <textStyle>plain</textStyle>
  229.         <textHeight>13</textHeight>
  230.         <name>D</name>
  231.         <script></script>
  232.     </part>
  233.     <part>
  234.         <id>20</id>
  235.         <type>field</type>
  236.         <visible> <true /> </visible>
  237.         <dontWrap> <false /> </dontWrap>
  238.         <dontSearch> <false /> </dontSearch>
  239.         <sharedText> <false /> </sharedText>
  240.         <fixedLineHeight> <true /> </fixedLineHeight>
  241.         <autoTab> <false /> </autoTab>
  242.         <lockText> <false /> </lockText>
  243.         <rect>
  244.             <left>15</left>
  245.             <top>31</top>
  246.             <right>166</right>
  247.             <bottom>53</bottom>
  248.         </rect>
  249.         <style>shadow</style>
  250.         <autoSelect> <false /> </autoSelect>
  251.         <showLines> <false /> </showLines>
  252.         <wideMargins> <false /> </wideMargins>
  253.         <multipleLines> <false /> </multipleLines>
  254.         <reservedFamily> 0 </reservedFamily>
  255.         <titleWidth>0</titleWidth>
  256.         <icon>0</icon>
  257.         <textAlign>left</textAlign>
  258.         <font>Chicago</font>
  259.         <textSize>12</textSize>
  260.         <textStyle>plain</textStyle>
  261.         <textHeight>16</textHeight>
  262.         <name>Q#</name>
  263.         <script></script>
  264.     </part>
  265.     <part>
  266.         <id>38</id>
  267.         <type>button</type>
  268.         <visible> <false /> </visible>
  269.         <reserved5> 0 </reserved5>
  270.         <reserved4> 0 </reserved4>
  271.         <reserved3> 0 </reserved3>
  272.         <reserved2> 0 </reserved2>
  273.         <reserved1> 0 </reserved1>
  274.         <enabled> <true /> </enabled>
  275.         <rect>
  276.             <left>173</left>
  277.             <top>116</top>
  278.             <right>245</right>
  279.             <bottom>138</bottom>
  280.         </rect>
  281.         <style>rectangle</style>
  282.         <showName> <true /> </showName>
  283.         <highlight> <false /> </highlight>
  284.         <autoHighlight> <false /> </autoHighlight>
  285.         <sharedHighlight> <true /> </sharedHighlight>
  286.         <family>0</family>
  287.         <titleWidth>0</titleWidth>
  288.         <icon>0</icon>
  289.         <textAlign>center</textAlign>
  290.         <font>Chicago</font>
  291.         <textSize>12</textSize>
  292.         <textStyle>plain</textStyle>
  293.         <name>Correct!</name>
  294.         <script></script>
  295.     </part>
  296.     <part>
  297.         <id>39</id>
  298.         <type>button</type>
  299.         <visible> <true /> </visible>
  300.         <reserved5> 0 </reserved5>
  301.         <reserved4> 0 </reserved4>
  302.         <reserved3> 0 </reserved3>
  303.         <reserved2> 0 </reserved2>
  304.         <reserved1> 0 </reserved1>
  305.         <enabled> <true /> </enabled>
  306.         <rect>
  307.             <left>14</left>
  308.             <top>138</top>
  309.             <right>44</right>
  310.             <bottom>174</bottom>
  311.         </rect>
  312.         <style>checkbox</style>
  313.         <showName> <true /> </showName>
  314.         <highlight> <false /> </highlight>
  315.         <autoHighlight> <false /> </autoHighlight>
  316.         <sharedHighlight> <true /> </sharedHighlight>
  317.         <family>0</family>
  318.         <titleWidth>0</titleWidth>
  319.         <icon>0</icon>
  320.         <textAlign>center</textAlign>
  321.         <font>Chicago</font>
  322.         <textSize>12</textSize>
  323.         <textStyle>plain</textStyle>
  324.         <name>A</name>
  325.         <script>on mouseUpglobal questans, groupset hilight of background button A to trueset hilight of background button B to falseset hilight of background button C to falseset hilight of background button D to falseput "A" into item group of questansend mouseUp</script>
  326.     </part>
  327.     <part>
  328.         <id>40</id>
  329.         <type>button</type>
  330.         <visible> <true /> </visible>
  331.         <reserved5> 0 </reserved5>
  332.         <reserved4> 0 </reserved4>
  333.         <reserved3> 0 </reserved3>
  334.         <reserved2> 0 </reserved2>
  335.         <reserved1> 0 </reserved1>
  336.         <enabled> <true /> </enabled>
  337.         <rect>
  338.             <left>14</left>
  339.             <top>178</top>
  340.             <right>44</right>
  341.             <bottom>214</bottom>
  342.         </rect>
  343.         <style>checkbox</style>
  344.         <showName> <true /> </showName>
  345.         <highlight> <false /> </highlight>
  346.         <autoHighlight> <false /> </autoHighlight>
  347.         <sharedHighlight> <true /> </sharedHighlight>
  348.         <family>0</family>
  349.         <titleWidth>0</titleWidth>
  350.         <icon>0</icon>
  351.         <textAlign>center</textAlign>
  352.         <font>Chicago</font>
  353.         <textSize>12</textSize>
  354.         <textStyle>plain</textStyle>
  355.         <name>B</name>
  356.         <script>on mouseUpglobal questans, groupset hilight of background button A to falseset hilight of background button B to trueset hilight of background button C to falseset hilight of background button D to falseput "B" into item group of questansend mouseUp</script>
  357.     </part>
  358.     <part>
  359.         <id>41</id>
  360.         <type>button</type>
  361.         <visible> <true /> </visible>
  362.         <reserved5> 0 </reserved5>
  363.         <reserved4> 0 </reserved4>
  364.         <reserved3> 0 </reserved3>
  365.         <reserved2> 0 </reserved2>
  366.         <reserved1> 0 </reserved1>
  367.         <enabled> <true /> </enabled>
  368.         <rect>
  369.             <left>14</left>
  370.             <top>219</top>
  371.             <right>44</right>
  372.             <bottom>255</bottom>
  373.         </rect>
  374.         <style>checkbox</style>
  375.         <showName> <true /> </showName>
  376.         <highlight> <false /> </highlight>
  377.         <autoHighlight> <false /> </autoHighlight>
  378.         <sharedHighlight> <true /> </sharedHighlight>
  379.         <family>0</family>
  380.         <titleWidth>0</titleWidth>
  381.         <icon>0</icon>
  382.         <textAlign>center</textAlign>
  383.         <font>Chicago</font>
  384.         <textSize>12</textSize>
  385.         <textStyle>plain</textStyle>
  386.         <name>C</name>
  387.         <script>on mouseUpglobal questans, groupset hilight of background button A to falseset hilight of background button B to falseset hilight of background button C to trueset hilight of background button D to falseput "C" into item group of questansend mouseUp</script>
  388.     </part>
  389.     <part>
  390.         <id>42</id>
  391.         <type>button</type>
  392.         <visible> <true /> </visible>
  393.         <reserved5> 0 </reserved5>
  394.         <reserved4> 0 </reserved4>
  395.         <reserved3> 0 </reserved3>
  396.         <reserved2> 0 </reserved2>
  397.         <reserved1> 0 </reserved1>
  398.         <enabled> <true /> </enabled>
  399.         <rect>
  400.             <left>14</left>
  401.             <top>264</top>
  402.             <right>44</right>
  403.             <bottom>300</bottom>
  404.         </rect>
  405.         <style>checkbox</style>
  406.         <showName> <true /> </showName>
  407.         <highlight> <false /> </highlight>
  408.         <autoHighlight> <false /> </autoHighlight>
  409.         <sharedHighlight> <true /> </sharedHighlight>
  410.         <family>0</family>
  411.         <titleWidth>0</titleWidth>
  412.         <icon>0</icon>
  413.         <textAlign>center</textAlign>
  414.         <font>Chicago</font>
  415.         <textSize>12</textSize>
  416.         <textStyle>plain</textStyle>
  417.         <name>D</name>
  418.         <script>on mouseUpglobal questans, groupset hilight of background button A to falseset hilight of background button B to falseset hilight of background button C to falseset hilight of background button D to trueput "D" into item group of questansend mouseUp</script>
  419.     </part>
  420.     <part>
  421.         <id>43</id>
  422.         <type>field</type>
  423.         <visible> <false /> </visible>
  424.         <dontWrap> <false /> </dontWrap>
  425.         <dontSearch> <false /> </dontSearch>
  426.         <sharedText> <false /> </sharedText>
  427.         <fixedLineHeight> <true /> </fixedLineHeight>
  428.         <autoTab> <false /> </autoTab>
  429.         <lockText> <true /> </lockText>
  430.         <rect>
  431.             <left>339</left>
  432.             <top>119</top>
  433.             <right>498</right>
  434.             <bottom>137</bottom>
  435.         </rect>
  436.         <style>shadow</style>
  437.         <autoSelect> <false /> </autoSelect>
  438.         <showLines> <false /> </showLines>
  439.         <wideMargins> <false /> </wideMargins>
  440.         <multipleLines> <false /> </multipleLines>
  441.         <reservedFamily> 0 </reservedFamily>
  442.         <titleWidth>0</titleWidth>
  443.         <icon>0</icon>
  444.         <textAlign>left</textAlign>
  445.         <font>Geneva</font>
  446.         <textSize>12</textSize>
  447.         <textStyle>bold</textStyle>
  448.         <textHeight>16</textHeight>
  449.         <name>review</name>
  450.         <script></script>
  451.     </part>
  452.     <part>
  453.         <id>44</id>
  454.         <type>button</type>
  455.         <visible> <true /> </visible>
  456.         <reserved5> 0 </reserved5>
  457.         <reserved4> 0 </reserved4>
  458.         <reserved3> 0 </reserved3>
  459.         <reserved2> 0 </reserved2>
  460.         <reserved1> 0 </reserved1>
  461.         <enabled> <true /> </enabled>
  462.         <rect>
  463.             <left>406</left>
  464.             <top>310</top>
  465.             <right>452</right>
  466.             <bottom>342</bottom>
  467.         </rect>
  468.         <style>default</style>
  469.         <showName> <true /> </showName>
  470.         <highlight> <false /> </highlight>
  471.         <autoHighlight> <false /> </autoHighlight>
  472.         <sharedHighlight> <true /> </sharedHighlight>
  473.         <family>0</family>
  474.         <titleWidth>0</titleWidth>
  475.         <icon>0</icon>
  476.         <textAlign>center</textAlign>
  477.         <font>Times</font>
  478.         <textSize>12</textSize>
  479.         <textStyle>plain</textStyle>
  480.         <name>QUIT</name>
  481.         <script>on mouseUpdoMenu "Quit HyperCard"end mouseUp</script>
  482.     </part>
  483.     <name>Test</name>
  484.     <script>On openCardglobal questans, questkey, rightone, grouphide field reviewhide background button "Correct!"set hilight of background button A to falseset hilight of background button B to falseset hilight of background button C to falseset hilight of background button D to falseget the number of card-- ΓÇóΓÇóΓÇó choose question # or card # optionput "Question #" & group into field "Q#" -- question # option-- put "Question #"&it-2 into field "Q#" -- card # optionput rightone into item group of questkeyput item group of questans into fooif foo is not empty then set hilight of background button foo to trueend openCardon closeCardset lockScreen to trueset hilight of background button A to falseset hilight of background button B to falseset hilight of background button C to falseset hilight of background button D to falseset lockScreen to falsehide background button "Correct!"hide field reviewend closeCardon idleglobal time1-- comment out next line (exit idle) if you want a time limit on test.-- don't forget to set time limit as described in Exam button of-- first card.exit idleput the seconds into time2if time2<time1 then exit idleif time2ΓëÑtime1 thenanswer "Too much Time. Try again?" with "OK" or "Quit"end ifif it is "OK" thenvisual effect dissolve to blackvisual effect iris opengo first cardopenStackelsevisual effect dissolvego homeend ifend idleon randomNextglobal group,questlistadd one to groupif group > 40 then go card reportget item group of questlistgo card itend randomNexton randomPrevglobal group,questlistsubtract one from groupif group < 1 then go first cardget item group of questlistgo card itend randomPrevon reViewglobal rightone, immediateput "Correct answer is " & rightone into field reviewif not immediate thenwait 3 secondsshow field reviewwait until the mouseClickelseif hilite of background button rightone is false thenshow field reviewwait until the mouseClickelse-- show background button "Correct!"end ifend ifend reView</script>
  485. </background>
  486.